package com.qianfeng.openapi.web.master.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.Date;

@Data
public class UserToken {

  private Integer id; //ID
  private Integer appId;  //应用ID
  private Integer userId; //用户ID

  @JsonProperty("access_token")
  private String accessToken; //token.html

  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date expireTime;  //过期时间

  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date startTime; //开始时间

}
